<!--
 * @Descripttion: 
 * @version: V 1.0
 * @Author: wxw
 * @Date: 2020-10-22 21:59:49
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>年少有伟</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <!-- 设置浏览器图标 -->
  <link rel="icon" href="https://gitee.com/wwxw/image/raw/master/logo/head/favicon.ico" type="image/x-icon" />
  <link rel="shortcut icon" href="https://gitee.com/wwxw/image/raw/master/logo/head/favicon.ico" type="image/x-icon" />
  <meta name="description" content="年少有伟">
  <meta name="viewport"
    content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <!-- 默认主题 -->
  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css">
  <style>
      nav.app-nav li ul {
        min-width: 100px;
      }
  
      #carbonads {
  			box-shadow: none !important;
        width: auto !important;
  		}
    </style>
</head>

<body>
  <!-- 定义加载时候的动作 -->
  <div id="app">Loading...</div>
  <!-- 自定义导航栏 -->
  <!-- <nav>
    <a href="#/">EN</a>
    <a href="#/zh-cn/">中文</a>
  </nav> -->
  <!-- JS 脚本 -->
  <script>
    window.$docsify = {
      // 项目名称
      // name: 'wxw-document',
      // 仓库地址，点击右上角的Github章鱼猫头像会跳转到此地址
      repo: 'https://github.com/GitHubWxw/wxw-document',
      // 侧边栏支持，默认加载的是项目根目录下的_sidebar.md文件  
      loadSidebar: true, // 开启侧边栏
      alias: {
        '/.*/_sidebar.md': '/_sidebar.md'
      },
      // 自定义侧边栏后默认不会再生成目录，设置生成目录的最大层级，建议配置为1或者2
      subMaxLevel: 4,
	  onlyCover: true, // 只显示封面
      // 最大支持渲染的标题层级
      maxLevel: 4,
      // 导航栏支持，默认加载的是项目根目录下的_navbar.md文件
      loadNavbar: true,
      // 封面支持，默认加载的是项目根目录下的_coverpage.md文件
      coverpage: true,
      // 切换页面后是否自动跳转到页面顶部
      auto2top: true,
      // 入口文件改为 /home.md
      homepage: 'home.md',
      // 启用相对路径
      relativePath: true,
      // 显示文件更新日期
      formatUpdated: '{MM}/{DD} {HH}:{mm}',
      // 滚动内容页面以到达所选部分时，在顶部添加一个空格
      topMargin: 90, // default: 0
      //在侧边栏中出现的网站图标
      // logo: '/_media/icon.svg',
    }
  </script>
  <script>
    // 搜索配置
    window.$docsify = {
      search: {
        placeholder: '搜索',
        // maxAge: 86400000, // Expiration time, the default one day
        paths: auto,
        noData: '找不到结果！',
        depth: 3,
        hideOtherSidebarContent: false,
        namespace: 'wxw-document',
      }
    }
  </script>
  <!-- docsify的js依赖 -->
  <script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
  <!-- emoji 表情支持 -->
  <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script>
  <!-- 图片放大缩小支持 -->
  <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
  <!-- 搜索功能支持 -->
  <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
  <!-- 添加一键拷贝代码-->
  <script src="//unpkg.com/docsify-copy-code"></script>

  <!-- 添加代码高亮 -->
  <script src="//unpkg.com/prismjs/components/prism-bash.js"></script>
  <script src="//unpkg.com/prismjs/components/prism-java.js"></script>
  <script src="//unpkg.com/prismjs/components/prism-sql.js"></script>
  <script src="//unpkg.com/prismjs/components/prism-java.js"></script>
  <script src="//unpkg.com/prismjs/components/prism-sql.js"></script>
  <!-- 分页 -->
  <!-- <script src="//cdn.jsdelivr.net/npm/docsify-pagination/dist/docsify-pagination.min.js"></script> -->
  <!-- gitalk评论 -->
  <!-- 引入 gitalk留言功能 -->
  <!-- Gitalk是基于Github Issue和Preact的现代评论组件 -->
 <!-- <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/gitalk/1.6.2/gitalk.css">
  <script src="https://cdn.bootcdn.net/ajax/libs/gitalk/1.6.2/gitalk.js"></script>
  <script src="https://cdn.bootcdn.net/ajax/libs/docsify/4.11.2/plugins/gitalk.min.js"></script>
  <script>
    const gitalk = new Gitalk({
      clientID: '81e1e9c987a67b83cb2a',
      clientSecret: 'f01281b56c3e16117e5f0aa7c1367610fd5ee1cc',
      repo: 'wxw-blog', // 存放评论
      owner: 'GitHubWxw', //仓库所有者
      admin: ['GitHubWxw'], // 仓库有写权限 Github repo collaborators, only these guys can initialize github issues
      id: location.pathname, // 用于标记评论是哪个页面的
    })
  </script> -->
</body>

</html>